<template>
  <div>
    <el-tabs v-model="activeName">
      <el-tab-pane label="首页配置" name="1"> </el-tab-pane>
      <el-tab-pane label="二级页面配置" name="2"> </el-tab-pane>
      <el-tab-pane label="三级页面配置" name="3"> </el-tab-pane>
      <el-tab-pane label="后台页面配置" name="10"> </el-tab-pane>
      <List :flag="flag" :type="activeName" />
      <Add :flag="flag" :type="activeName" />
    </el-tabs>
  </div>
</template>
<script>
export default {
  components: {
    List: () => import('./List.vue'),
    Add: () => import('./Add.vue'),
  },
  data() {
    return {
      activeName: '1',
      flag: true,
    }
  },
  mounted() {},
  methods: {},
}
</script>
<style scoped lang="scss">
</style>